#!/bin/sh

# rdws code db info
rdws_code_db_url=jdbc:mysql://fill-in-the-correct-server:3306/rdws?characterEncoding=utf8
rdws_code_db_username=FillInCorrectUser
rdws_code_db_password=FillInCorrectPassword


# =============== Please do not modify the following content =============== #
# go to script directory
cd "${0%/*}"

cd ..

# package code-service and assets-service and batch-service
echo "==== starting to build code-service and assets-service ===="

mvn clean package -DskipTests -pl rdws-codeservice,rdws-assetsservice,rdws-batchservice -am -Dapollo_profile=dev

echo "==== building code-service and assets-service and batchservice finished ===="
